package io.github.talelin.latticy.common.pojo;
 
import lombok.Data;
 
import java.io.FileOutputStream;
import java.util.List;
 
/**
 * 生成可带文字的二维码工具类参数
 *
 */
@Data
public class QRCodeEntity {
 
    // 文件输入流
    private FileOutputStream fileOutputStream;
 
    // 二维码宽度
    private int codeWidth;
 
    // 二维码高度
    private int codeHeight;
 
    // 二维码在pdf页中绝对位置
    private int absoluteX;
 
    // 二维码在pdf页中绝对位置
    private int absoluteY;
 
    // 存放二维码扫描内容和显示内容的list
    private List<CodeList> codelist;
 
 
    public QRCodeEntity(FileOutputStream fileOutputStream, int codeWidth, int codeHeight, int absoluteX, int absoluteY, List<CodeList> codelist) {
        this.fileOutputStream = fileOutputStream;
        this.codeWidth = codeWidth;
        this.codeHeight = codeHeight;
        this.absoluteX = absoluteX;
        this.absoluteY = absoluteY;
        this.codelist = codelist;
    }
}